package com.guat.entity;

public class Article {
    private int article_id;
    private String title;
    private String content;
    private String creation_time;

    public Article() {
    }

    public Article(int article_id, String title, String content, String creation_time) {
        this.article_id = article_id;
        this.title = title;
        this.content = content;
        this.creation_time = creation_time;
    }

    public int getArticle_id() {
        return article_id;
    }

    public void setArticle_id(int article_id) {
        this.article_id = article_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreation_time() {
        return creation_time;
    }

    public void setCreation_time(String creation_time) {
        this.creation_time = creation_time;
    }

    @Override
    public String toString() {
        return "Article{" +
                "article_id=" + article_id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", creation_time='" + creation_time + '\'' +
                '}';
    }
}
